﻿var vk = {
    ads_rotate_interval: 120000,
    al: parseInt('3') || 4,
    id: 0,
    intnat: '' ? true : false,
    host: 'vk.com',
    lang: 1,
    rtl: parseInt('') || 0,
    version: 13136,
    stDomains: 3,
    zero: false,
    contlen: 7645,
    loginscheme: 'https',
    ip_h: 'be078b3648ad0729f3',
    vc_h: 'd71a850665dce421252c315ed4d375b0',
    navPrefix: '/',
    dt: parseInt('') || 0,
    fs: parseInt('11') || 11,
    ts: 1367331798,
    pd: 0,
    pads: 1,
    time: [2013, 4, 30, 18, 23, 18]
}

window.locDomain = vk.host.match(/[a-zA-Z]+\.[a-zA-Z]+\.?$/)[0];
var _ua = navigator.userAgent.toLowerCase();
if (/opera/i.test(_ua) || !/msie 6/i.test(_ua) || document.domain != locDomain) document.domain = locDomain;
var ___htest = (location.toString().match(/#(.*)/) || {})[1] || '', ___to;
if (vk.al != 1 && ___htest.length && ___htest.substr(0, 1) == vk.navPrefix) {
    if (vk.al != 3 || vk.navPrefix != '!') {
        ___to = ___htest.replace(/^(\/|!)/, '');
        if (___to.match(/^([^\?]*\.php|login)([^a-z0-9\.]|$)/)) ___to = '';
        location.replace(location.protocol + '//' + location.host + '/' + ___to);
    }
}

var StaticFiles = {
    'common.js': { v: 1093 },
    'common.css': { v: 410 },
    'ie6.css': { v: 26 },
    'ie7.css': { v: 18 }
  , 'lang1_0.js': { v: 3788 }, 'index.css': { v: 22 }, 'index.js': { v: 28 }
}